package com.player;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;


public class VoaplayerActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        final Button localhost_reposity_button = (Button) findViewById(R.id.localhost_repository_button);
        localhost_reposity_button.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                // Perform action on click
            	//setContentView(R.layout.test);
            	Intent intent = new Intent(VoaplayerActivity.this, LocalhostActivity.class);
            	startActivity(intent);
            }
        });
        
        final Button online_reposity_button = (Button) findViewById(R.id.online_repository_button);
        online_reposity_button.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                // Perform action on click
            	//setContentView(R.layout.test);
            	Intent intent = new Intent(VoaplayerActivity.this, OnlineActivity.class);
            	startActivity(intent);
            }
        });
    }
}